//
// Created by 66477 on 2022/9/24.
//

#ifndef DATA_STRUCTURE_NODE3_2_H
#define DATA_STRUCTURE_NODE3_2_H

using namespace std;

class Node3_2 {
private:
    char date;
    Node3_2 *next = nullptr;
public:
    Node3_2(char date) : date(date) {}

    char getDate() const {
        return date;
    }

    void setDate(char date) {
        Node3_2::date = date;
    }

    Node3_2 *getNext() const {
        return next;
    }

    void setNext(Node3_2 *next) {
        Node3_2::next = next;
    }
};

#endif //DATA_STRUCTURE_NODE3_2_H
